class LinkedList1{
    private Node head;

    private static class Node {
        public int value;
        public Node next;

        public Node(int value) {
            this.value = value;
            next = null;
        }
    }

    public LinkedList1() {
        Node node = new Node(111);
        Node node1 = new Node(333);
        Node node2 = new Node(9999);
        Node node3 = new Node(66);
        Node node4 = new Node(112);
        Node node5 = new Node(213);
        Node node6 = new Node(447);
        Node node7 = new Node(168);
        Node node8 = new Node(1);
        Node node9 = new Node(4371);
        Node node10 = new Node(8787);
        Node node11 = new Node(2024031005);

        head = node;
        node.next = node1;
        node1.next = node2;
        node2.next = node3;
        node3.next = node4;
        node4.next = node5;
        node5.next = node6;
        node6.next = node7;
        node7.next = node8;
        node8.next = node9;
        node9.next = node10;
        node10.next = node11;
    }
    public void display() {
        Node tmp = this.head;
        System.out.print("[");
        while (tmp != null) {
            System.out.print(tmp.value);
            if (tmp.next != null) {
                System.out.print(", ");
            }
            tmp = tmp.next;
        }
        System.out.println("]");
    }

    public static void main(String[] args) {
        LinkedList1 list = new LinkedList1();
        list.display();
    }
}
